<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title >{:lang_web('string_mac_hyzx')} - {$maccms.site_name}</title>
    <meta name="keywords" content="{:lang_web('string_mac_hyzx')}">
    <meta name="description" content="{:lang_web('string_mac_hyzx')}">
    {include file="user/include" /}
</head>
<style>
	.header .head_menu_a a{
		color: #333;
	}
</style>

<body id="uindex" data-current-theme-color="{php} echo tplconfig_get_current_theme_color($tplconfig); {/php}">
{include file="public/head" /}
<!-- 会员中心 -->
<div class="member-wrap member-wrap-bg">
<div id="member" class="fn-clear">
	<div id="left" class="dl-bl">
	    <div id="ui-nav" class="m-nav mobile-nav">
			<a href="javascript:MAC.GoBack()" class="btn-left"><i class="iconfont ico-right">&#xe625;</i></a>
			<span class="mb-title" data-lang="user_grzx">{:lang_web('user_grzx')}</span>
	    </div>
	{include file="user/left_nav" /}
	</div>
	<div id="right" class="dr-no">
		<div class="m-nav">
			<a href="javascript:MAC.GoBack()" class="btn-left"><i class="iconfont ico-right">&#xe625;</i></a>
			<a href="{:url('user/info')}" class="btn-right" data-lang="user_change">{:lang_web('user_change')}</a>
			<span class="mb-title" data-lang="user_base_info">{:lang_web('user_base_info')}</span>
	    </div>
	    <div class="co-right co-right-bg">
		<div id="tab">
			<div class="user-info">
				<ul class="fn-clear">
					<li class="cur" data-lang="user_base_info">{:lang_web('user_base_info')}</li>
					<li><a href="{:url('user/info')}" data-lang="user_change_info">{:lang_web('user_change_info')}</a></li>
					<li><a href="{:url('user/popedom')}" data-lang="user_jurisdiction">{:lang_web('user_jurisdiction')}</a></li>
				</ul>
			</div>
			<div id="listCon">
				<!-- 基本资料 -->
				<div class="cur">
						<p><span class="xiang" data-lang="user_name">{:lang_web('user_name')}</span>{$obj.user_name}</p>
						<p>
							<span class="xiang" data-lang="user_nickname">{:lang_web('user_nickname')}</span>
							{php}
							if($obj['user_nickname']){
							{/php}
							{$obj['user_nickname']}
							{php}
							}else{
							{/php}
							<span data-lang="unfilled">{:lang_web('unfilled')}</span>
							{php}}{/php}
						</p>
						<p><span class="xiang" data-lang="user_huiyuanzu">{:lang_web('user_huiyuanzu')}</span>{if condition="$obj.group_id lt 3"}{$user.group.group_name}{else}<i class="iconfont user_vip">&#xe638;</i>{$obj.group.group_name}{/if}</p>
						<p><span class="xiang" data-lang="user_zhanghaojifen">{:lang_web('user_zhanghaojifen')}</span>{$obj.user_points}</p>
						<p><span class="xiang" data-lang="user_qixian">{:lang_web('user_qixian')}</span>{if condition="$obj.group_id lt 3"}{:lang_web('permanent')}{else}{$obj.user_end_time|mac_day}{/if}</p>
						<p><span class="xiang" data-lang="user_qq">{:lang_web('user_qq')}</span>
							{php}
							if($obj['user_qq']){
							{/php}
							{$obj['user_qq']}
							{php}
							}else{
							{/php}
							<span data-lang="unfilled">{:lang_web('unfilled')}</span>
							{php}
							}
							{/php}
						</p>
						<p>
							<span class="xiang" data-lang="user_email">
							</span>
							{php}
							if($obj['user_email']){
							{/php}
							{$obj['user_email']}
							{php}
							}else{
							{/php}
							<span data-lang="unfilled">{:lang_web('unfilled')}</span>
							{php}
							}
							{/php}
						</p>
						<p><span class="xiang" data-lang="user_zctime">{:lang_web('user_zctime')}</span>{$obj.user_reg_time|mac_day}</p>
						<p><span class="xiang" data-lang="user_scdl">{:lang_web('user_scdl')}</span>{$obj.user_last_login_time|mac_day='color'}</p>
						<p><span class="xiang" data-lang="user_dlcs">{:lang_web('user_dlcs')}</span>{$obj.user_login_num}</p>
						<p><span class="xiang" data-lang="user_dlIp">{:lang_web('user_dlIp')}</span>{$obj.user_login_ip|long2ip}</p>
						<p><span class="xiang" data-lang="user_dlshijian">{:lang_web('user_dlshijian')}</span>{$obj.user_login_time|mac_day}</p>
						{if $GLOBALS['config']['user']['invite_reg_points'] gt 0}
						<p>
							<span class="xiang" data-lang="user_zclink">{:lang_web('user_zclink')}</span><input id="url" class="member-input wt-input" value="{$maccms.http_type}{$maccms.site_url}{:mac_url('user/reg')}?uid={$obj.user_id}" size="70">
							<a id="text" class="bind-a" data-clipboard-text="{$maccms.http_type}{$maccms.site_url}{:mac_url('user/reg')}?uid={$obj.user_id}" href="javascript:void(0)" data-lang="user_copy">{:lang_web('user_copy')}</a>
						</p>
						{/if}
						{if $GLOBALS['config']['user']['invite_visit_points'] gt 0}
						<p>
							<span class="xiang" data-lang="user_fwlink">{:lang_web('user_fwlink')}</span><input id="url2" class="member-input wt-input" value="{$maccms.http_type}{$maccms.site_url}{:mac_url('user/visit')}?uid={$obj.user_id}" size="70">
							<a id="text2" class="bind-a" data-clipboard-text="{$maccms.http_type}{$maccms.site_url}{:mac_url('user/visit')}?uid={$obj.user_id}" href="javascript:void(0)" data-lang="user_copy">{:lang_web('user_copy')}</a>
						</p>
						{/if}
					</div>
			</div>
		</div>
	 </div>
	 </div>
</div>
<div style="width:30rem;margin: 2.5rem auto;" class="show-pc">
	{include file="public/friendLink" }
</div>
</div>
{include file="public/foot" /}
<script type="text/javascript">
	var lang=localStorage.getItem('lang')
	$("#text").click(()=>{
		copyText("url")
	})
	$("#text2").click(()=>{
		copyText("url2")
	})
    function copyText(url) {
		var input = document.getElementById(url);
		input.select(); 
		document.execCommand("copy"); // 执行浏览器复制命令
		if(lang==1){
			alert("Copy succeeded");
		}else{
			alert("复制成功");
		}
		
    }

</script>
</body>
</html>